package com.skydonkey.pojo.vo;

public class SearchVideoReq {
    private String key; //关键字
    private String orderField; //排序字段
    private boolean desc = true;    //默认降序，如最新时间
    private Integer pageNum;
    private Integer pageCount;

    public String getKey() {
        return key;
    }

    public SearchVideoReq setKey(String key) {
        this.key = key;
        return this;
    }

    public boolean isDesc() {
        return desc;
    }

    public SearchVideoReq setDesc(boolean desc) {
        this.desc = desc;
        return this;
    }

    public String getOrderField() {
        return orderField;
    }

    public SearchVideoReq setOrderField(String orderField) {
        this.orderField = orderField;
        return this;
    }

    public SearchVideoReq setPageNum(Integer pageNum) {
        this.pageNum = pageNum;
        return this;
    }

    public SearchVideoReq setPageCount(Integer pageCount) {
        this.pageCount = pageCount;
        return this;
    }

    public Integer getPageNum() {
        return pageNum;
    }

    public Integer getPageCount() {
        return pageCount;
    }

    @Override
    public String toString() {
        return "SearchVideoReq{" +
                "key='" + key + '\'' +
                ", orderField='" + orderField + '\'' +
                ", desc=" + desc +
                ", pageNum=" + pageNum +
                ", pageCount=" + pageCount +
                '}';
    }
}
